* {
    margin: 0;
    padding: 0;
}

body {
    background-color: antiquewhite;
}

.content {
    margin: 3rem auto;
    box-sizing: border-box;
    text-align: center;
}

.body {
    display: inline-block;
    border: 0.5rem solid lightgray;
    background-color: lightgray;
}

.board {
    border-top: 3px solid grey;
    border-left: 3px solid grey;
    border-bottom: 3px solid rgb(255, 255, 255);
    border-right: 3px solid rgb(240, 240, 240);
    box-sizing: border-box;
}

.row {
    height: 1.5rem;
}

.col {
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    border: 0.1px solid rgb(155, 155, 155);
    text-align: center;
    background-color: lightgray;
    font-family: "GenShin";
    font-size: 1.2rem;
    font-weight: 900;
    color: blue;
    box-sizing: border-box;
    display: inline-block;
}

@font-face {
    font-family: 'GenShin';
    src: url('../font/GenShinGothic-Monospace-Heavy-2.ttf')format('truetype');
}

.tab {
    margin: 1rem auto;
    text-align: center;
}

.title {
    margin: 0.5rem auto;
    font-size: 1.2rem;
    font-weight: 900;
}

.difficulty {
    color: gray;
    font-size: smaller;
}

.difficulty>span {
    margin: 0 0.2rem;
}

.ui {
    width: 100%;
    height: 2.2rem;
    margin-bottom: 0.5rem;
    background-color: lightgray;
    border-top: 3px solid grey;
    border-left: 3px solid grey;
    border-bottom: 3px solid rgb(255, 255, 255);
    border-right: 3px solid rgb(240, 240, 240);
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}

.face {
    width: 2rem;
}

.smile {
    background-color: brown;
}

.sad {
    background-color: yellow;
}

.laugh {
    background-color: red;
}

.number {
    width: 3rem;
    background-color: black;
    margin: 0.1rem;
    line-height: 1.8rem;
    letter-spacing: 0.1rem;
    color: red;
    font-family: "GenShin";
    font-size: 1.5rem;
    font-weight: 900;
}

.num-color- {
    position: absolute;
    width: inherit;
    height: inherit;
}

.cover {
    position: absolute;
    width: inherit;
    height: inherit;
    background-color: rgb(182, 182, 182);
    border-top: 4px solid rgb(255, 255, 255);
    border-left: 4px solid rgb(240, 240, 240);
    border-bottom: 4px solid grey;
    border-right: 4px solid grey;
    z-index: 99;
    box-sizing: border-box;
}

.cover>img {
    position: absolute;
    left: 0;
}

.visited {
    display: none;
}

.discover {
    display: inline-block;
}

.bg-red {
    background-color: red;
}

.num-color--1 {
    color: yellow;
}

.num-color-0 {
    opacity: 0;
}

.num-color-1 {
    color: blue;
}

.num-color-2 {
    color: green;
}

.num-color-3 {
    color: red;
}

.num-color-4 {
    color: navy;
}

.num-color-5 {
    color: brown;
}

.num-color-6 {
    color: aqua;
}

.num-color-7 {
    color: grey;
}

.num-color-8 {
    color: darkmagenta;
}

.custom-input {
    width: 3rem;
}